
#include "MapEditScene.h"
#include "MapEditLayer.h"

MapEditScene::MapEditScene() {

}

MapEditScene::~MapEditScene() {

}
Scene* MapEditScene::createScene() {
	Scene* scene = NULL;
	do {
		scene = Scene::create();
		CC_BREAK_IF(! scene);
		MapEditScene* layer = MapEditScene::create();
		CC_BREAK_IF(! layer);
		scene->addChild(layer);

		MapEditLayer* editLayer = MapEditLayer::create();
		scene->addChild(editLayer);
	} while (0);

	return scene;
}

bool MapEditScene::init() {
	bool bRet = false;
	do {
		CC_BREAK_IF(! Layer::init());

		bRet = true;

	} while (0);
	return bRet;
}